﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pro_CompletList.aspx.cs" Inherits="ArtLand.OA.Project.Project.Pro_CompletList" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../css/admin.css" rel="stylesheet" />
    <script src="../js/WebCommon.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="pan1" />
        <ext:Panel ShowBorder="false" ShowHeader="false" runat="server" ID="pan1" Layout="Fit">
            <Toolbars>
                <ext:Toolbar ID="Toolbar2" runat="server">
                    <Items>
                        <ext:TwinTriggerBox ID="ttbxMyBox2" ShowLabel="false" OnTrigger1Click="ttbxMyBox2_Trigger1Click"
                            OnTrigger2Click="ttbxMyBox2_Trigger2Click" Trigger1Icon="Clear" ShowTrigger1="False"
                            EmptyText="请输入项目编号或项目描述" Trigger2Icon="Search" runat="server" Width="180px">
                        </ext:TwinTriggerBox>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:Grid ID="Grid1" Title="项目完成档案管理" ShowHeader="false" ShowBorder="false" runat="server" EnableCheckBoxSelect="false" DataKeyNames="ID"
                    OnRowDataBound="Grid1_RowDataBound" EnableTextSelection="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" EnableRowDoubleClick="true" OnRowDoubleClick="Grid1_RowDoubleClick" OnRowCommand="Grid1_RowCommand" EnableColumnLines="true">
                    <Toolbars>
                        <ext:Toolbar ID="Toolbar1" runat="server">
                            <Items>
                                <ext:Button ID="btnNew" Text="添加" Icon="Add" EnablePostBack="false" runat="server">
                                </ext:Button>
                                <ext:ToolbarSeparator></ext:ToolbarSeparator>
                                <ext:Button ID="Button1" Text="修改" OnClick="Button1_Click" Icon="ApplicationEdit" runat="server">
                                </ext:Button>
                                <ext:ToolbarSeparator></ext:ToolbarSeparator>
                                <ext:Button ID="Button2" Text="删除" OnClick="Button2_Click" Icon="Decline" runat="server" ConfirmText="您确定要这么做吗？">
                                </ext:Button>
                                <ext:ToolbarText ID="ToolbarText1" runat="server" Enabled="false" Text="<span style='color:#999'>双击可编辑数据</span>"></ext:ToolbarText>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                    <Columns>
                        <%--<ext:TemplateField RenderAsRowExpander="true">
                            <ItemTemplate>
                                <ext:Label runat="server" ID="labReMark"></ext:Label>
                            </ItemTemplate>
                        </ext:TemplateField>--%>
                        <ext:BoundField Width="120px" DataField="Proj_No" DataFormatString="{0}" HeaderText="项目编号" />
                        <ext:BoundField Width="140px" DataField="Proj_Name" DataFormatString="{0}" HeaderText="项目描述" TextAlign="Center" />
                        <ext:BoundField Width="120px" DataField="EDTIME" DataFormatString="{0:yyyy-MM-dd}" HeaderText="项目完工时间" TextAlign="Center" />
                        <ext:BoundField Width="80px" DataField="Adder" DataFormatString="{0}" HeaderText="上传人" TextAlign="Center" />
                        <ext:BoundField Width="140px" DataField="AddTime" DataFormatString="{0}" HeaderText="添加时间" TextAlign="Center" />
                        <ext:BoundField Width="80px" DataField="ID" DataFormatString="{0}" HeaderText="状态" TextAlign="Center" Hidden="true" />
                    </Columns>
                </ext:Grid>
            </Items>
        </ext:Panel>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" EnableClose="false" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="550px" Height="400px">
        </ext:Window>
        <ext:Window ID="Window2" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" EnableClose="false" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="520px" Height="490px">
        </ext:Window>
        <ext:Window ID="Window3" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" EnableClose="false" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="500px" Height="250px">
        </ext:Window>
    </form>
    <script src="../js/extgridbug.js"></script>
</body>
</html>